find the derivative of cosec x